#include <mockcpp/mockcpp.hpp>
#include <testngpp/testngpp.hpp>
#include "Quantity.h"
#include "Volume.h"

USING_MOCKCPP_NS
USING_TESTNGPP_NS

FIXTURE(Quantity)
{
        TEST(2 OZ equal to 4 TBSP)
	{
		ASSERT_TRUE(VOLUME(2,OZ) == VOLUME(4,TBSP));
		delete (VolumeUnit*)&OZ;
		delete (VolumeUnit*)&TBSP;
	}
        TEST(2 OZ plus 6 TSP equal to 6 TBSP)
	{
		ASSERT_TRUE(VOLUME(6,TBSP) == VOLUME(2,OZ) + VOLUME(6,TSP));
		delete (VolumeUnit*)&OZ;
		delete (VolumeUnit*)&TBSP;
		delete (VolumeUnit*)&TSP;
	}


};
